package EveryDayPractice;

import java.util.Scanner;

public class Practice07 {
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    String str = sc.nextLine();
    char cc='\n';
    char[] ch = str.toCharArray();
    int count=0;
    int count1=0;
    int count2=0;
    int i=0;
        while (i<ch.length) {
  if(ch[i]>='0'&&ch[i]<='9'){
      count++;
  }
  else if(ch[i]>='A'&&ch[i]<='z'){
      count1++;
  }
  else {
      count2++;
  }
  if(ch[i]==cc){
      break;
  }
i++;
    }
        System.out.println("有"+count +"个数字"+ count1+"个英文"+ count2+"个其他字符");
    }
}
